FROM java:8

COPY target/*.jar /gateway.jar

CMD ["--server.port=8000"]

EXPOSE 8080

ENTRYPOINT ["java","-Xms64m","-Xmx128m","-jar","gateway.jar"]